package jk.fox.common.payload.response;

/**
 * @author cuichao
 * @Description: Response
 * @Date: create in 2020/3/30 23:19
 */
public interface Response {
    /**
     * 获取requestId
     * @return
     */
    String getRequestId();
    /**
     * 获取response-code
     * @return
     */
    int getResponseCode();

    /**
     * 获取相应的返回值
     * @return
     */
    Object getResponse();

    /**
     * 获取编码类型
     * @return
     */
    String getContentType();
    /**
     * 获取异常信息
     * @return
     */
    String getExceptionMessage();


}
